<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    
    <!--<h:outputLabel value="#{bundle.CreateEvaluadorLabel_persona}" for="persona" />
    <h:selectOneMenu id="persona" value="#{evaluadorController.selected.persona}" title="#{bundle.CreateEvaluadorTitle_persona}" required="true" requiredMessage="#{bundle.CreateEvaluadorRequiredMessage_persona}">
                        <f:selectItems value="#{personaController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>-->

    <ui:composition template="/directorID/templateDirectorID.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateEvaluadorTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateEvaluadorLabel_codigo}" for="codigo" />
                    <h:inputText id="codigo" value="#{evaluadorController.selected.codigo}" title="#{bundle.CreateEvaluadorTitle_codigo}" required="true" requiredMessage="#{bundle.CreateEvaluadorRequiredMessage_codigo}"/>
                    <h:outputLabel value="#{bundle.CreateEvaluadorLabel_tituloEstudios}" for="tituloEstudios" />
                    <h:inputText id="tituloEstudios" value="#{evaluadorController.selected.tituloEstudios}" title="#{bundle.CreateEvaluadorTitle_tituloEstudios}" required="true" requiredMessage="#{bundle.CreateEvaluadorRequiredMessage_tituloEstudios}"/>
                    <h:outputLabel value="#{bundle.CreateEvaluadorLabel_otrosEstudios}" for="otrosEstudios" />
                    <h:inputText id="otrosEstudios" value="#{evaluadorController.selected.otrosEstudios}" title="#{bundle.CreateEvaluadorTitle_otrosEstudios}" required="true" requiredMessage="#{bundle.CreateEvaluadorRequiredMessage_otrosEstudios}"/>
                    <h:outputLabel value="#{bundle.CreateEvaluadorLabel_experienciaAnnios}" for="experienciaAnnios" />
                    <h:inputText id="experienciaAnnios" value="#{evaluadorController.selected.experienciaAnnios}" title="#{bundle.CreateEvaluadorTitle_experienciaAnnios}" required="true" requiredMessage="#{bundle.CreateEvaluadorRequiredMessage_experienciaAnnios}"/>
                   
                    <h:outputLabel value="#{bundle.CreateEvaluadorLabel_codigoNivelEstudios}" for="codigoNivelEstudios" />
                    <h:selectOneMenu id="codigoNivelEstudios" value="#{evaluadorController.selected.codigoNivelEstudios}" title="#{bundle.CreateEvaluadorTitle_codigoNivelEstudios}" required="true" requiredMessage="#{bundle.CreateEvaluadorRequiredMessage_codigoNivelEstudios}">
                        <f:selectItems value="#{nivelEstudiosController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{evaluadorController.create}" value="#{bundle.CreateEvaluadorSaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{evaluadorController.prepareList}" value="#{bundle.CreateEvaluadorShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.CreateEvaluadorIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
